home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / scheme / schematk / src_1152.lha / Agent.subproj / HelpAgent.h < prev    next >
Encoding:
Text File  |  1991-12-15  |  2.5 KB  |  92 lines

  1. /* Copyright รก 1991 Gustavus Adolphus College.  All rights reserved.
  2.  *
  3.  * Schematik was developed by Gustavus Adolphus College (GAC) with
  4.  * support from NeXT Computer, Inc.  Permission to copy this software,
  5.  * to redistribute it, and to use it for any purpose is granted,
  6.  * subject to the following restrictions and understandings.
  7.  *
  8.  * 1. Any copy made of this software must include this copyright
  9.  * notice in full.
  10.  *
  11.  * 2. Users of this software agree to make their best efforts (a) to
  12.  * return to the GAC Mathematics and Computer Science Department any
  13.  * improvements or extensions that they make, so that these may be
  14.  * included in future releases; and (b) to inform GAC of noteworthy
  15.  * uses of this software.
  16.  *
  17.  * 3. All materials developed as a consequence of the use of this
  18.  * software shall duly acknowledge such use, in accordance with the
  19.  * usual standards of acknowledging credit in academic research.
  20.  *
  21.  * 4. GAC makes no express or implied warranty or representation of
  22.  * any kind with respect to this software, including any warranty
  23.  * that the operation of this software will be error-free.  ANY
  24.  * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
  25.  * PURPOSE IS HEREBY DISCLAIMED.  GAC is under no obligation to
  26.  * provide any services, by way of maintenance, update, or otherwise.
  27.  *
  28.  * 5. In conjunction with products arising from the use of this
  29.  * material, there shall be no use of the name of Gustavus Adolphus
  30.  * College nor of any adaptation thereof in any advertising,
  31.  * promotional, or sales literature without prior written consent
  32.  * from GAC in each case.
  33.  */
  34.  
  35. #import <objc/Object.h>
  36.  
  37. @interface HelpAgent:Object
  38. {
  39. NXZone    *agentZone;
  40.     id    helpPanel;
  41.     id    manualPanel;
  42.     id    helpScrollView;
  43.     id    topicsBrowser;
  44.     id    entryField;
  45.     id    pageBrowser;
  46. }
  47.  
  48. + new;
  49.  
  50. - activateAgent:sender;
  51. - helpBrowserClick:sender;
  52. //- manualBrowserClick:sender;
  53. //- manualBrowserDoubleClick:sender;
  54.  
  55. - (id)helpScrollView;
  56.  
  57. @end
  58.  
  59. #import <appkit/View.h>
  60.  
  61. @interface ManualView:View
  62. {
  63.    int    numPages;
  64.    int    resolution;
  65.     id    entryIndexList;
  66. }
  67.  
  68. - displayPage:(unsigned)aPage at:(int)aLocation;
  69. - generateIndex;
  70.  
  71. @end
  72.  
  73. @interface ManualEntry:Object
  74. {
  75.   char    *entryName;
  76.   char    *pageLabel;
  77.  short    absPage;
  78.    int    pageStartLine;
  79.  short    xPos;
  80.  short    yPos;
  81. }
  82.  
  83. - init:(char *)anEntry page:(short)aPage line:(int)aLine label:(char *)aLabel x:(short)x y:(short)y;
  84. - (char *)entry;
  85. - (char *)pageLabel;
  86. - (short)absolutePage;
  87. - (int)pageStartLine;
  88. - (short)xPosition;
  89. - (short)yPosition;
  90.  
  91. @end
  92.